package com.yuebao.feign;

import com.yuebao.model.pojo.UserAccount;
import com.yuebao.result.EntityResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;



@FeignClient(name = "YUEBAO-user-service",path = "/userAccount")
public interface UserAccountCloud {
    
    @GetMapping("/getUserAccountById/{userId}")
    public EntityResponse<UserAccount> getUserAccountById(@PathVariable(value = "userId") Long userId);
}
